.TH "Vision::Detector" 3 "13 Oct 2009" "Version 2" "zebulon" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Vision::Detector \- 
.SH SYNOPSIS
.br
.PP
.PP
Inherits \fBVision::ImageCallback\fP.
.PP
Inherited by \fBVision::BlobDetector\fP, \fBVision::EdgeDetector\fP, \fBVision::FaceDetector\fP, \fBVision::LaneLines\fP, \fBVision::VPBackgroundBinary\fP, \fBVision::VPForegroundBinary\fP, \fBVision::VPGrayscale\fP, and \fBVision::VPThreshold\fP.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBInitialized\fP () const "
.br
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "volatile bool \fBmSaveFrame\fP"
.br
.RI "\fISave frame to output. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "double \fBGetAngle\fP (const CvPoint *pt1, const CvPoint *pt2, const CvPoint *pt0) const "
.br
.RI "\fIInitializes base objects. \fP"
.ti -1c
.RI "bool \fBBaseInit\fP (const char *OutputName, const char *ThreadName, CvScalar Color)"
.br
.RI "\fICapture and write statistics to file. \fP"
.ti -1c
.RI "void \fBCaptureStats\fP (CvSeq *\fBobjSeq\fP)"
.br
.RI "\fICopy images from calling platform. \fP"
.ti -1c
.RI "void \fBCopyImagesFromPlatform\fP ()"
.br
.RI "\fICalls a function which detects objects in the image. \fP"
.ti -1c
.RI "virtual void \fBStartDetection\fP (void *args)=0"
.br
.RI "\fIWrite contour shapes to image. \fP"
.ti -1c
.RI "void \fBDisplayContour\fP (const CvSeq *contourSeq, IplImage *inputImage)"
.br
.RI "\fIWrite results to the output window. \fP"
.ti -1c
.RI "void \fBDisplayOutput\fP (IplImage *inputImage)"
.br
.RI "\fIWrite a bounding rectangle around the contour points. \fP"
.ti -1c
.RI "void \fBDrawBoundingRect\fP (CvSeq *currentContourPtr, IplImage *inputImage)"
.br
.RI "\fIWrite contours of shapes to image. \fP"
.ti -1c
.RI "void \fBDrawContours\fP (CvSeq *currentContour, IplImage *inputImage, CvScalar contourColor)"
.br
.RI "\fIMatch shapes against templates. \fP"
.ti -1c
.RI "double \fBMatchShapes\fP (CvSeq *contour1, CvSeq *contour2, CvHuMoments *imageMoments)"
.br
.RI "\fIMonitor image changes and find objects in image. \fP"
.ti -1c
.RI "void \fBProcessImage\fP (void *args)"
.br
.RI "\fIWrites statistics to a file. \fP"
.ti -1c
.RI "void \fBRecordStatsToText\fP (const char *fileName, const char *Message)"
.br
.RI "\fILooks for and registers streaming video with Jaus Node manager. \fP"
.ti -1c
.RI "void \fBRegisterWithJausNodeManager\fP ()"
.br
.RI "\fIWrite frame image to file. \fP"
.ti -1c
.RI "int \fBSaveFrameAsImage\fP (const char *fileName, const IplImage *inputImage) const "
.br
.RI "\fISaveFrameAsImage. Saves the provided image as a file. \fP"
.in -1c
.SS "Static Protected Member Functions"

.in +1c
.ti -1c
.RI "static void \fBMonitorImage\fP (void *args)"
.br
.RI "\fIPrepares the image for processing and detection. \fP"
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "CvScalar \fBmShapeColor\fP"
.br
.RI "\fIShape color;. \fP"
.ti -1c
.RI "\fBVisionPlatform\fP * \fBmAnalyzer\fP"
.br
.RI "\fIParent canvas and analyzing object. \fP"
.ti -1c
.RI "const char * \fBStatFileName\fP"
.br
.RI "\fIOutput file name. \fP"
.ti -1c
.RI "\fBCBlobResult\fP * \fBmBlobs\fP"
.br
.ti -1c
.RI "volatile bool \fBmCheckImage\fP"
.br
.ti -1c
.RI "volatile bool \fBmClearStorage\fP"
.br
.ti -1c
.RI "volatile bool \fBmCopyImages\fP"
.br
.ti -1c
.RI "volatile bool \fBmEnableStreaming\fP"
.br
.ti -1c
.RI "volatile bool \fBmInitialized\fP"
.br
.ti -1c
.RI "volatile bool \fBmOutputDisplayed\fP"
.br
.RI "\fIGets the angle between points. \fP"
.in -1c
.SH "Member Function Documentation"
.PP 
.SS "double Detector::GetAngle (const CvPoint * pt1, const CvPoint * pt2, const CvPoint * pt0) const\fC [protected]\fP"
.PP
Initializes base objects. GetAngle. Finds the cosine of angle between vectors from pt0->pt1, pt0->pt2. 
.SS "void Detector::RecordStatsToText (const char * fileName, const char * statMessage)\fC [protected]\fP"
.PP
Looks for and registers streaming video with Jaus Node manager. RecordStatsToText. Saves the provided image statistics into a file.
.PP
\fBParameters:\fP
.RS 4
\fIFileName.\fP File name of object to write to. 
.RE
.PP

.SS "int Detector::SaveFrameAsImage (const char * fileName, const IplImage * inputImage) const\fC [protected]\fP"
.PP
SaveFrameAsImage. Saves the provided image as a file. \fBParameters:\fP
.RS 4
\fIFileName.\fP File name of object to be written. 
.RE
.PP
\fBReturns:\fP
.RS 4
Output integer from call to cvSaveImage. Results of write operation. 
.RE
.PP

.PP
TODO: Create and check directories for each individual output. 

.SH "Author"
.PP 
Generated automatically by Doxygen for zebulon from the source code.
